package com.example.service;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.example.config.R;
import com.example.entity.Category;

public interface CategoryService extends IService<Category> {
    Page<Category> findPage(Page<Category> page1, LambdaQueryWrapper<Category> queryWrapper);

    void add(Category category);

    R findById(Long id);

    void updateCategory(Category category);

    void delete(Long id);


    //R findById(Long id);
}
